package com.jk.mapper;

import com.jk.util.TutorDynaSqlProvider;
import com.jk.vo.CouponInfo;
import org.apache.ibatis.annotations.SelectProvider;

import java.util.List;
import java.util.Map;

public interface CouponMapper {

    /**查询数据*/
    @SelectProvider(type=TutorDynaSqlProvider.class,
            method="queryCoupon")
    List<Map> queryCoupon(CouponInfo coupon);
    /**查询数据*/
    @SelectProvider(type=TutorDynaSqlProvider.class,
            method="queryUserCoupon")
    List<Map> queryUserCoupon(CouponInfo coupon);
}
